var a,b:integer;begin read(a,b);writeln(b,' ',a);end.